package com.yuliang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuliang.domain.R;
import com.yuliang.domain.dto.UpdateCategoryDto;
import com.yuliang.domain.entity.Category;
import com.yuliang.domain.vo.CategoryVo;

import javax.servlet.http.HttpServletResponse;
import java.util.List;


/**
 * 分类表(Category)表服务接口
 *
 * @author makejava
 * @since 2023-09-19 16:19:31
 */
public interface CategoryService extends IService<Category> {

    R getCategoryList();

    R getListAllCategory();

    R categoryPages(Integer pageNum, Integer pageSize,String name,String status);

    R addCategory(CategoryVo categoryVo);

    R getCategoryDetail(Long id);

    R updateCategory(UpdateCategoryDto updateCategoryDto);

    R deleteCategory(List<Long> ids);
}

